<?php

namespace app\model\disclose;

use app\model\TimeModel;

class Disclose extends TimeModel
{
    protected $table = 'sj_disclose' ;
    protected $type = [
        'disclose_time' => 'timestamp:Y-m-d H:i:s'
    ] ;
    public function type()
    {
        return $this->belongsTo(DiscloseType::class , 'type_id' , 'id') ;
    }
}